package xyz.liuyuhe.StudySpring.ch11.e;

import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class EnumMain2 {
    public static void main(String[] args) {
        final ConfigurableApplicationContext ctx = 
                new ClassPathXmlApplicationContext("classpath:ch11/e/Beans2.xml");
        System.out.println(ctx.getBean(Car.class).getColorEnum());
    }
}
